#ifndef _FOLLOW_CAM_COMPONENT_H_
#define _FOLLOW_CAM_COMPONENT_H_

#include "IComponent.h"
#include "..\Graphics\Camera.h"

class PhysicsComponent;
class FollowCamComponent : public IComponent
{
public:
	FollowCamComponent(const std::string& p_cameraID);
	virtual ~FollowCamComponent(void);

	virtual const std::string getType() { return "FollowCamComponent"; }
	virtual const std::string getFamilyType() { return "FollowCamComponent"; }

	void init();
	void update(const GameTime& p_gameTime);

protected:
	vn::Camera* m_camera;
	PhysicsComponent* m_physics;
};

#endif // _FOLLOW_CAM_COMPONENT_H_